﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GestureLibDemo
{
    static class Utility
    {
        public static string GetApplicationPath()
        {
            string startupFile = System.Reflection.Assembly.GetExecutingAssembly().Location;
            int lastIndex = startupFile.LastIndexOf('\\');
            startupFile = startupFile.Substring(0, lastIndex);

            return startupFile;
        }
    }
}
